<template>
  <div>
    <h3>首页</h3>
    <button @click="$router.go(-1)">后退</button>
    <button @click="$router.go(-2)">后退两步</button>
    <button @click="$router.push('/movie/2/凡人修仙传')">看凡人修仙传</button>
    <button @click="$router.push('/music?id=9&name=毛不易')">看毛不易</button>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
div {
  min-height: 200px;
  background-color: rgb(227, 120, 225);
}
</style>
